package com.share.commons.util;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

/**
 * <p>Title：数据表输出到数据库</p>
 * <p>Description：</p>
 * @Author 杨浩泉
 * @Date 2010-2-23
 */
public class ExportSchema {

	public static void main(String[] args) {
		SchemaExport se = new SchemaExport(new AnnotationConfiguration().configure()) ;
		se.create(true, true) ;
	}

}
